-- card: 4236 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 2690 -- name: MultiFinder -- part 2 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=14 top=86 right=300 bottom=496 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: -- part 1 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=141 top=57 right=75 bottom=361 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 8448 -- line height: 16 -- part name: -- part 6 (field) -- low flags: 81 -- high flags: 0004 -- rect: left=239 top=111 right=172 bottom=482 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: SubNote ----- HyperTalk script ----- on mouseUp set the visible of Me to not the visible of Me end mouseUp -- part 7 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=212 top=174 right=193 bottom=233 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp set the visible of card field "SubNote" to not the visible of card field "SubNote" end mouseUp -- part 8 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=311 top=277 right=298 bottom=331 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp go to card "MultiBugs" end mouseUp -- part 9 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=470 top=264 right=283 bottom=494 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp edit script of this stack end mouseUp -- part contents for card part 1 ----- text ----- MultiFinder commands -- part contents for card part 2 ----- text ----- This stack contains 3 XFCNs for the MultiFinder (1.0, not buggy betas!) environment: • MultiFinder() - returns TRUE if MultiFinder is active, otherwise FALSE. • IsRunning(programName) - returns TRUE if program "programName" is already running in the MultiFinder environment, otherwise FALSE. • SubLaunch(programName,docName)* - sublaunches the program with optional attached document. Both HyperCard and the specified program will then be running, memory permitting (at least 2 Meg!). If the arguments have no colons in them (not a pathname), then the “Look for applications in:” etc. cards in the Home stack are consulted. SubLaunch return 0 for success, negative numbers for Operating System errors, and small positive numbers for parameter errors, or lack of memory. To see how to handle this, and how the XFCNs can be used in concert, take a look at the “InvokeApplication” and “OsErr” handlers* in the stack script. InvokeApplication also fixes HyperCard bugs* when under MultiFinder. -- part contents for card part 6 ----- text ----- The Sublaunch XFCN is only needed with release 1.0.1 of HyperCard when running under MultiFinder. The “open” command has this functionality under later releases.